<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Source: components/menuNav/menuNavItem.vue</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Source: components/menuNav/menuNavItem.vue</h1>

    



    
    <section>
        <article>
            <pre class="prettyprint source linenums"><code>&lt;template>
&lt;div class="app-menunav-item" is="mu-flexbox-item" :grow="0" :shrink="0" @click.native="to&amp;&amp;$router.push(to)">
  &lt;div class="app-menunav-item-imgwr">&lt;slot>&lt;/slot>&lt;/div>
  &lt;div class="app-menunav-item-ttwr">&lt;span class="app-menunav-item-tt">{{title}}&lt;/span>&lt;/div>
&lt;/div>
&lt;/template>

&lt;script>
/**
 * 九宫格菜单项模块
 * @module components/menuNava/menuNavaItem
 * @example
  &lt;app-menunav-item :to="{name:'archives'}" title="档案查询">
    &lt;img src="../assets/images/menu_archives.png" style="height:60px;width:60px">
  &lt;/app-menunav-item>
   
  slots：
    default 图片容器里面 
 */
  export default {
    name: 'app-menunav-item',
    data:function() {
      return {
      }
    },
    props:["to","title"]
  }
&lt;/script>

&lt;style>
.app-menunav .app-menunav-item{display: block;float: left; position: relative;top: 1px;left: 1px;width: 50%;box-sizing:border-box;border-right: 1px solid #d0d0d0;border-bottom: 1px solid #d0d0d0;-webkit-tap-highlight-color: rgba(33, 150, 243, 0.1);}
.app-menunav-item>a{display: block;}
.app-menunav-item-imgwr{height:76px;width:76px;max-width: 100%;text-align: center;margin:12px auto 8px auto;position: relative;}
.app-menunav-item-imgwr>*{ position: absolute;top: 50%;left: 50%;-webkit-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.app-menunav-item-ttwr{width: 100%; text-align: center;margin:0 4px 12px 4px}
.app-menunav-item-tt{ font-size: 16px;color: #414141;height: 44px;line-height: 22px;}
.app-menunav-item:active .app-menunav-item-tt{color: #177bc0;}
&lt;/style>
</code></pre>
        </article>
    </section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-components_appCalendar.html">components/appCalendar</a></li><li><a href="module-components_appLoading.html">components/appLoading</a></li><li><a href="module-components_appUserBox.html">components/appUserBox</a></li><li><a href="module-components_editImage.html">components/editImage</a></li><li><a href="module-components_fileList.html">components/fileList</a></li><li><a href="module-components_menuNava_menuNava.html">components/menuNava/menuNava</a></li><li><a href="module-components_menuNava_menuNavaItem.html">components/menuNava/menuNavaItem</a></li><li><a href="module-components_myInputPage.html">components/myInputPage</a></li><li><a href="module-components_mySelectPage.html">components/mySelectPage</a></li><li><a href="module-components_myWebuploader.html">components/myWebuploader</a></li><li><a href="module-components_textImgBox.html">components/textImgBox</a></li><li><a href="module-components_timeline_timeline.html">components/timeline/timeline</a></li><li><a href="module-components_timeline_timelineItem.html">components/timeline/timelineItem</a></li><li><a href="module-components_vImg.html">components/vImg</a></li><li><a href="module-scripts_common.html">scripts/common</a></li><li><a href="module-scripts_configValid.html">scripts/configValid</a></li><li><a href="module-scripts_LunarCalendar.html">scripts/LunarCalendar</a></li><li><a href="module-scripts_vueMethods.html">scripts/vueMethods</a></li><li><a href="module-services.html">services</a></li><li><a href="module-services_AnniversaryService.html">services/AnniversaryService</a></li><li><a href="module-services_ArchiveService.html">services/ArchiveService</a></li><li><a href="module-services_BigEventService.html">services/BigEventService</a></li><li><a href="module-services_FamilyService.html">services/FamilyService</a></li><li><a href="module-services_UserService.html">services/UserService</a></li><li><a href="module-vuex-history.html">vuex-history</a></li><li><a href="module-vuex-loading.html">vuex-loading</a></li><li><a href="module-vuex-toast.html">vuex-toast</a></li></ul><h3>Namespaces</h3><ul><li><a href="Vue.html">Vue</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Fri Jun 30 2017 09:20:36 GMT+0800 (中国标准时间)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
